package com.j2ee.ioc;


/**
 * @Author ywb
 */
public class UserServiceImpl implements UserService {
    private UserDAO userDAO;
    public void setUserDAO(UserDAO userDAO){
        this.userDAO = userDAO;
    }

    @Override
    public void say() {
        this.userDAO.say();

        System.out.println("userService say hello world!");
    }
}
